﻿using System;
using System.Collections.Generic;
using System.Text;
using AMStudio.Script;
using System.Windows.Forms;

namespace AMStudio.Common
{
    [Serializable]
    public class UserInterfaceItem
    {
        private string uIName;

        public string UIName
        {
            get { return uIName; }
            set { uIName = value; }
        }
        private string controlName;

        public string ControlName
        {
            get { return controlName; }
            set { controlName = value; }
        }
        private string device;

        public string Device
        {
            get { return device; }
            set { device = value; }
        }
        private string displayTag;

        public string DisplayTag
        {
            get { return displayTag; }
            set { displayTag = value; }
        }
        private string displayRefreshGroup;

        public string DisplayRefreshGroup
        {
            get { return displayRefreshGroup; }
            set { displayRefreshGroup = value; }
        }
        private string action;

        public string Action
        {
            get { return action; }
            set { action = value; }
        }
        private string remark;

        public string Remark
        {
            get { return remark; }
            set { remark = value; }
        }

        public Control RelatedControl;
        public object value;
        public override string ToString()
        {
            return value.ToString();
        }
    } 
}
